<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2024/9/26
  Time: 17:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>Title</title>
    </head>

    <body>
        <%
            String username = (String) session.getAttribute("username");
        %>
        <h1><%= username %>，欢迎回来！</h1>

        <form action="show" method="post">
            标题：<input type="text" name="title">
            内容：<input type="text" name="content">
            <input type="submit" value="发布">
        </form>

    </body>
</html>
